package com.quarkus.cloud.domain;

import ai.timefold.solver.core.api.domain.solution.PlanningScore;
import ai.timefold.solver.core.api.domain.solution.PlanningSolution;
import ai.timefold.solver.core.api.domain.solution.ProblemFactCollectionProperty;
import ai.timefold.solver.core.api.domain.valuerange.ValueRangeProvider;
import ai.timefold.solver.core.api.score.buildin.simple.SimpleScore;
import lombok.Data;

import java.util.List;

/***
 * @description: 处理方案
 * @author: zhb
 * @date: 2024/3/14 15:22
 */
@PlanningSolution
@Data
public class NQueens {

    private int n;
    @ProblemFactCollectionProperty
    @ValueRangeProvider
    private List<Column> columnList;
    @ProblemFactCollectionProperty
    @ValueRangeProvider
    private List<Row> rowList;
    @ProblemFactCollectionProperty
    private List<Queen> queenList;
    @PlanningScore
    private SimpleScore score;


}